/*
 * @Author: jiu yin
 * @Date: 2024-01-09 10:32:31
 * @LastEditTime: 2024-05-09 17:12:40
 * @LastEditors: jiu yin zhen jing
 * @FilePath: \studio-web-admin\src\comment\delete_two\index.tsx
 * jiu
 */
import { ExclamationCircleFilled } from "@ant-design/icons";
import { Modal } from "antd";

const ShowPropsConfirm = (props:any) => {
   const {title,content,callback}=props
	const { confirm } = Modal;
	confirm({
		title: title || "删除",
		icon: <ExclamationCircleFilled />,
		content: content || " 确定要删除吗？",
		okText: "确定",
		cancelText: "取消",
		onOk() {
			callback();
		},
		onCancel() {},
	});
};
export default ShowPropsConfirm;
